/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package otcapp.controlador.jinternalFrame;

import com.toedter.calendar.JDateChooser;
import java.awt.Color;
import javax.swing.*;
import otcapp.controlador.jpanels.CabeceraJPanelPrincipal;

/**
 *
 * @author diego
 */
public class MesaEntradaPantalla extends javax.swing.JInternalFrame {

    /**
     * Creates new form MesaEntradaPantalla
     */
    public MesaEntradaPantalla() {
        initComponents();
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jpanelContenedor = new javax.swing.JPanel();
        jPanel5 = new javax.swing.JPanel();
        jScrollPane3 = new javax.swing.JScrollPane();
        tblPiezas = new javax.swing.JTable();
        cabeceraJPanelSecundario1 = new otcapp.controlador.jpanels.CabeceraJPanelSecundario("Piezas");
        btnDesplegar = new javax.swing.JButton();
        jToolBar2 = new javax.swing.JToolBar();
        btnHistorialSeguimiento = new javax.swing.JButton();
        btnSetUbicacion = new javax.swing.JButton();
        btnDarSalidaPieza = new javax.swing.JButton();
        jpanelNuevaPieza = new javax.swing.JPanel();
        lblTipoPieza = new javax.swing.JLabel();
        lblOficina = new javax.swing.JLabel();
        lblSede = new javax.swing.JLabel();
        lblIdentificacionç = new javax.swing.JLabel();
        lblExpediente = new javax.swing.JLabel();
        lblEmplazamiento = new javax.swing.JLabel();
        lblObservaciones = new javax.swing.JLabel();
        txtObservaciones = new javax.swing.JTextField();
        txtEmplazamientoDias = new javax.swing.JTextField();
        txtEmplazamientoHoras = new javax.swing.JTextField();
        txtExpediente = new javax.swing.JTextField();
        txtIdentificacionPieza = new javax.swing.JTextField();
        cbxSede = new javax.swing.JComboBox();
        cbxOficinaInicio = new javax.swing.JComboBox();
        cbxTipoPieza = new javax.swing.JComboBox();
        lblInterno = new javax.swing.JLabel();
        txtInterno = new javax.swing.JTextField();
        btnBuscarInterno = new javax.swing.JButton();
        lblFechaEntrada = new javax.swing.JLabel();
        jDateFechaEntrada = new com.toedter.calendar.JDateChooser();
        JPanelAsunto = new javax.swing.JPanel();
        cabeceraJPanelSecundario2 = new otcapp.controlador.jpanels.CabeceraJPanelSecundario("Asuntos");
        jScrollPane1 = new javax.swing.JScrollPane();
        tblAsuntos = new javax.swing.JTable();
        jLabel1 = new javax.swing.JLabel();
        jLabel2 = new javax.swing.JLabel();
        jToolBar1 = new javax.swing.JToolBar();
        btnNuevaPieza = new javax.swing.JButton();
        btnGuardarPieza = new javax.swing.JButton();
        btnHabilitarBusqueda = new javax.swing.JButton();
        btnEditarPieza = new javax.swing.JButton();
        btnSalir = new javax.swing.JButton();
        cabecera = new otcapp.controlador.jpanels.CabeceraJPanelPrincipal();

        setBorder(javax.swing.BorderFactory.createEtchedBorder());

        jpanelContenedor.setBorder(javax.swing.BorderFactory.createEtchedBorder());

        jPanel5.setBorder(javax.swing.BorderFactory.createEtchedBorder());

        tblPiezas.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null}
            },
            new String [] {
                "Title 1", "Title 2", "Title 3", "Title 4"
            }
        ));
        jScrollPane3.setViewportView(tblPiezas);

        btnDesplegar.setIcon(new javax.swing.ImageIcon(getClass().getResource("/otcapp/utiles/imagenes/iconos/Arrow-sans-up-20.png"))); // NOI18N
        btnDesplegar.setToolTipText("Desplegar");

        jToolBar2.setFloatable(false);
        jToolBar2.setMaximumSize(new java.awt.Dimension(2000, 38));
        jToolBar2.setPreferredSize(new java.awt.Dimension(100, 38));

        btnHistorialSeguimiento.setIcon(new javax.swing.ImageIcon(getClass().getResource("/otcapp/utiles/imagenes/iconos/Plane-30.png"))); // NOI18N
        btnHistorialSeguimiento.setToolTipText("Ver Seguimiento");
        btnHistorialSeguimiento.setBorder(javax.swing.BorderFactory.createEtchedBorder());
        btnHistorialSeguimiento.setBorderPainted(false);
        jToolBar2.add(btnHistorialSeguimiento);

        btnSetUbicacion.setIcon(new javax.swing.ImageIcon(getClass().getResource("/otcapp/utiles/imagenes/iconos/Paper-arrow-30.png"))); // NOI18N
        btnSetUbicacion.setToolTipText("Setear Ubicación");
        btnSetUbicacion.setBorder(javax.swing.BorderFactory.createEtchedBorder());
        btnSetUbicacion.setBorderPainted(false);
        jToolBar2.add(btnSetUbicacion);

        btnDarSalidaPieza.setIcon(new javax.swing.ImageIcon(getClass().getResource("/otcapp/utiles/imagenes/iconos/3D-Upload-30.png"))); // NOI18N
        btnDarSalidaPieza.setToolTipText("Dar Salida Pieza");
        btnDarSalidaPieza.setFocusable(false);
        btnDarSalidaPieza.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        btnDarSalidaPieza.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
        jToolBar2.add(btnDarSalidaPieza);

        javax.swing.GroupLayout jPanel5Layout = new javax.swing.GroupLayout(jPanel5);
        jPanel5.setLayout(jPanel5Layout);
        jPanel5Layout.setHorizontalGroup(
            jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel5Layout.createSequentialGroup()
                .addGroup(jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel5Layout.createSequentialGroup()
                        .addComponent(cabeceraJPanelSecundario1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(btnDesplegar, javax.swing.GroupLayout.PREFERRED_SIZE, 29, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(jPanel5Layout.createSequentialGroup()
                        .addContainerGap()
                        .addGroup(jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jScrollPane3, javax.swing.GroupLayout.DEFAULT_SIZE, 786, Short.MAX_VALUE)
                            .addComponent(jToolBar2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))))
                .addContainerGap())
        );
        jPanel5Layout.setVerticalGroup(
            jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel5Layout.createSequentialGroup()
                .addGroup(jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(cabeceraJPanelSecundario1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(btnDesplegar))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jToolBar2, javax.swing.GroupLayout.PREFERRED_SIZE, 38, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(18, 18, 18)
                .addComponent(jScrollPane3, javax.swing.GroupLayout.DEFAULT_SIZE, 116, Short.MAX_VALUE)
                .addContainerGap())
        );

        lblTipoPieza.setFont(new java.awt.Font("Dialog", 0, 12)); // NOI18N
        lblTipoPieza.setText("Tipo Pieza");

        lblOficina.setFont(new java.awt.Font("Dialog", 0, 12)); // NOI18N
        lblOficina.setText("Inicio Pieza");

        lblSede.setFont(new java.awt.Font("Dialog", 0, 12)); // NOI18N
        lblSede.setText("Sede");

        lblIdentificacionç.setFont(new java.awt.Font("Dialog", 0, 12)); // NOI18N
        lblIdentificacionç.setText("Identificación");

        lblExpediente.setFont(new java.awt.Font("Dialog", 0, 12)); // NOI18N
        lblExpediente.setText("Expediente");

        lblEmplazamiento.setFont(new java.awt.Font("Dialog", 0, 12)); // NOI18N
        lblEmplazamiento.setText("Emplazamiento");

        lblObservaciones.setFont(new java.awt.Font("Dialog", 0, 12)); // NOI18N
        lblObservaciones.setText("Observaciones");

        txtEmplazamientoDias.setName("emplazamientoDias");

        txtEmplazamientoHoras.setName("emplazamientoHoras");

        cbxSede.setFont(new java.awt.Font("Dialog", 0, 12)); // NOI18N
        cbxSede.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" }));

        cbxOficinaInicio.setFont(new java.awt.Font("Dialog", 0, 12)); // NOI18N
        cbxOficinaInicio.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" }));

        cbxTipoPieza.setFont(new java.awt.Font("Dialog", 0, 12)); // NOI18N
        cbxTipoPieza.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" }));

        lblInterno.setFont(new java.awt.Font("Dialog", 0, 12)); // NOI18N
        lblInterno.setText("Interno/a");

        txtInterno.setEnabled(false);

        btnBuscarInterno.setFont(new java.awt.Font("Dialog", 0, 10)); // NOI18N
        btnBuscarInterno.setIcon(new javax.swing.ImageIcon(getClass().getResource("/otcapp/utiles/imagenes/iconos/Search-20.png"))); // NOI18N
        btnBuscarInterno.setToolTipText("Buscar Interno");

        lblFechaEntrada.setFont(new java.awt.Font("Dialog", 0, 12)); // NOI18N
        lblFechaEntrada.setText("Fecha Entrada");

        jDateFechaEntrada.setDateFormatString("dd/MM/yyyy");
        jDateFechaEntrada.setFont(new java.awt.Font("Dialog", 0, 10)); // NOI18N

        JPanelAsunto.setBorder(javax.swing.BorderFactory.createEtchedBorder());

        tblAsuntos.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null}
            },
            new String [] {
                "Title 1", "Title 2", "Title 3", "Title 4"
            }
        ));
        jScrollPane1.setViewportView(tblAsuntos);

        javax.swing.GroupLayout JPanelAsuntoLayout = new javax.swing.GroupLayout(JPanelAsunto);
        JPanelAsunto.setLayout(JPanelAsuntoLayout);
        JPanelAsuntoLayout.setHorizontalGroup(
            JPanelAsuntoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(cabeceraJPanelSecundario2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
            .addGroup(JPanelAsuntoLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 382, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(21, Short.MAX_VALUE))
        );
        JPanelAsuntoLayout.setVerticalGroup(
            JPanelAsuntoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(JPanelAsuntoLayout.createSequentialGroup()
                .addComponent(cabeceraJPanelSecundario2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE)
                .addContainerGap())
        );

        jLabel1.setFont(new java.awt.Font("Dialog", 0, 12)); // NOI18N
        jLabel1.setText("Días");

        jLabel2.setFont(new java.awt.Font("Dialog", 0, 12)); // NOI18N
        jLabel2.setText("Horas");

        javax.swing.GroupLayout jpanelNuevaPiezaLayout = new javax.swing.GroupLayout(jpanelNuevaPieza);
        jpanelNuevaPieza.setLayout(jpanelNuevaPiezaLayout);
        jpanelNuevaPiezaLayout.setHorizontalGroup(
            jpanelNuevaPiezaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jpanelNuevaPiezaLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jpanelNuevaPiezaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jpanelNuevaPiezaLayout.createSequentialGroup()
                        .addGroup(jpanelNuevaPiezaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jpanelNuevaPiezaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                .addComponent(lblExpediente, javax.swing.GroupLayout.Alignment.TRAILING)
                                .addComponent(lblSede, javax.swing.GroupLayout.Alignment.TRAILING)
                                .addComponent(lblEmplazamiento, javax.swing.GroupLayout.Alignment.TRAILING)
                                .addComponent(lblIdentificacionç, javax.swing.GroupLayout.Alignment.TRAILING))
                            .addComponent(lblOficina, javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(lblTipoPieza, javax.swing.GroupLayout.Alignment.TRAILING))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addGroup(jpanelNuevaPiezaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addComponent(cbxTipoPieza, javax.swing.GroupLayout.PREFERRED_SIZE, 219, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(txtIdentificacionPieza)
                            .addComponent(cbxSede, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(txtExpediente, javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(cbxOficinaInicio, javax.swing.GroupLayout.PREFERRED_SIZE, 219, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addGroup(jpanelNuevaPiezaLayout.createSequentialGroup()
                                .addComponent(txtEmplazamientoDias, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGap(6, 6, 6)
                                .addComponent(jLabel1)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addComponent(txtEmplazamientoHoras, javax.swing.GroupLayout.PREFERRED_SIZE, 49, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(jLabel2))))
                    .addGroup(jpanelNuevaPiezaLayout.createSequentialGroup()
                        .addGroup(jpanelNuevaPiezaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jpanelNuevaPiezaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                .addComponent(lblObservaciones)
                                .addComponent(lblFechaEntrada))
                            .addComponent(lblInterno, javax.swing.GroupLayout.Alignment.TRAILING))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addGroup(jpanelNuevaPiezaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addGroup(jpanelNuevaPiezaLayout.createSequentialGroup()
                                .addComponent(txtInterno)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addComponent(btnBuscarInterno, javax.swing.GroupLayout.PREFERRED_SIZE, 33, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addComponent(jDateFechaEntrada, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(txtObservaciones, javax.swing.GroupLayout.PREFERRED_SIZE, 219, javax.swing.GroupLayout.PREFERRED_SIZE))))
                .addGap(43, 43, 43)
                .addComponent(JPanelAsunto, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(0, 21, Short.MAX_VALUE))
        );

        jpanelNuevaPiezaLayout.linkSize(javax.swing.SwingConstants.HORIZONTAL, new java.awt.Component[] {cbxOficinaInicio, cbxSede, cbxTipoPieza, jDateFechaEntrada, txtExpediente, txtIdentificacionPieza, txtObservaciones});

        jpanelNuevaPiezaLayout.linkSize(javax.swing.SwingConstants.HORIZONTAL, new java.awt.Component[] {txtEmplazamientoDias, txtEmplazamientoHoras});

        jpanelNuevaPiezaLayout.setVerticalGroup(
            jpanelNuevaPiezaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jpanelNuevaPiezaLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jpanelNuevaPiezaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jpanelNuevaPiezaLayout.createSequentialGroup()
                        .addComponent(JPanelAsunto, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addGap(12, 12, 12))
                    .addGroup(jpanelNuevaPiezaLayout.createSequentialGroup()
                        .addGroup(jpanelNuevaPiezaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(cbxTipoPieza, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(lblTipoPieza))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jpanelNuevaPiezaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(lblOficina)
                            .addComponent(cbxOficinaInicio, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jpanelNuevaPiezaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(cbxSede, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(lblSede))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jpanelNuevaPiezaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(lblIdentificacionç)
                            .addComponent(txtIdentificacionPieza, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jpanelNuevaPiezaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(txtExpediente, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(lblExpediente))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jpanelNuevaPiezaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(lblEmplazamiento)
                            .addGroup(jpanelNuevaPiezaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                .addComponent(txtEmplazamientoDias, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addComponent(txtEmplazamientoHoras, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addComponent(jLabel1)
                                .addComponent(jLabel2)))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jpanelNuevaPiezaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(txtObservaciones, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(lblObservaciones))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jpanelNuevaPiezaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jDateFechaEntrada, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(lblFechaEntrada))
                        .addGap(18, 18, 18)
                        .addGroup(jpanelNuevaPiezaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jpanelNuevaPiezaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                .addComponent(txtInterno, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addComponent(lblInterno))
                            .addComponent(btnBuscarInterno, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addContainerGap())))
        );

        jpanelNuevaPiezaLayout.linkSize(javax.swing.SwingConstants.VERTICAL, new java.awt.Component[] {cbxOficinaInicio, cbxSede, cbxTipoPieza, jDateFechaEntrada, txtEmplazamientoDias, txtEmplazamientoHoras, txtExpediente, txtIdentificacionPieza, txtInterno, txtObservaciones});

        javax.swing.GroupLayout jpanelContenedorLayout = new javax.swing.GroupLayout(jpanelContenedor);
        jpanelContenedor.setLayout(jpanelContenedorLayout);
        jpanelContenedorLayout.setHorizontalGroup(
            jpanelContenedorLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jpanelNuevaPieza, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
            .addGroup(jpanelContenedorLayout.createSequentialGroup()
                .addComponent(jPanel5, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addContainerGap())
        );
        jpanelContenedorLayout.setVerticalGroup(
            jpanelContenedorLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jpanelContenedorLayout.createSequentialGroup()
                .addComponent(jpanelNuevaPieza, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jPanel5, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addContainerGap())
        );

        jToolBar1.setBorder(null);
        jToolBar1.setFloatable(false);
        jToolBar1.setRollover(true);

        btnNuevaPieza.setIcon(new javax.swing.ImageIcon(getClass().getResource("/otcapp/utiles/imagenes/iconos/folder_new-30.png"))); // NOI18N
        btnNuevaPieza.setToolTipText("Nueva Pieza");
        btnNuevaPieza.setBorderPainted(false);
        btnNuevaPieza.setFocusable(false);
        btnNuevaPieza.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        btnNuevaPieza.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
        jToolBar1.add(btnNuevaPieza);

        btnGuardarPieza.setIcon(new javax.swing.ImageIcon(getClass().getResource("/otcapp/utiles/imagenes/iconos/Save_30.png"))); // NOI18N
        btnGuardarPieza.setToolTipText("GuardarPieza");
        btnGuardarPieza.setBorderPainted(false);
        btnGuardarPieza.setFocusable(false);
        btnGuardarPieza.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        btnGuardarPieza.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
        jToolBar1.add(btnGuardarPieza);

        btnHabilitarBusqueda.setIcon(new javax.swing.ImageIcon(getClass().getResource("/otcapp/utiles/imagenes/iconos/Search-30.png"))); // NOI18N
        btnHabilitarBusqueda.setToolTipText("Buscar Piezas");
        btnHabilitarBusqueda.setBorderPainted(false);
        btnHabilitarBusqueda.setFocusable(false);
        btnHabilitarBusqueda.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        btnHabilitarBusqueda.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
        jToolBar1.add(btnHabilitarBusqueda);

        btnEditarPieza.setIcon(new javax.swing.ImageIcon(getClass().getResource("/otcapp/utiles/imagenes/iconos/document_pencil_30.png"))); // NOI18N
        btnEditarPieza.setToolTipText("Modificar Pieza");
        btnEditarPieza.setBorderPainted(false);
        btnEditarPieza.setFocusable(false);
        btnEditarPieza.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        btnEditarPieza.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
        jToolBar1.add(btnEditarPieza);

        btnSalir.setIcon(new javax.swing.ImageIcon(getClass().getResource("/otcapp/utiles/imagenes/iconos/Log-out-30.png"))); // NOI18N
        btnSalir.setToolTipText("Salir");
        btnSalir.setBorderPainted(false);
        btnSalir.setFocusable(false);
        btnSalir.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        btnSalir.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
        jToolBar1.add(btnSalir);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGap(2, 2, 2)
                .addComponent(cabecera, javax.swing.GroupLayout.DEFAULT_SIZE, 825, Short.MAX_VALUE)
                .addGap(3, 3, 3))
            .addComponent(jToolBar1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
            .addComponent(jpanelContenedor, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addComponent(cabecera, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jToolBar1, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jpanelContenedor, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JPanel JPanelAsunto;
    private javax.swing.JButton btnBuscarInterno;
    private javax.swing.JButton btnDarSalidaPieza;
    private javax.swing.JButton btnDesplegar;
    private javax.swing.JButton btnEditarPieza;
    private javax.swing.JButton btnGuardarPieza;
    private javax.swing.JButton btnHabilitarBusqueda;
    private javax.swing.JButton btnHistorialSeguimiento;
    private javax.swing.JButton btnNuevaPieza;
    private javax.swing.JButton btnSalir;
    private javax.swing.JButton btnSetUbicacion;
    private otcapp.controlador.jpanels.CabeceraJPanelPrincipal cabecera;
    private otcapp.controlador.jpanels.CabeceraJPanelSecundario cabeceraJPanelSecundario1;
    private otcapp.controlador.jpanels.CabeceraJPanelSecundario cabeceraJPanelSecundario2;
    private javax.swing.JComboBox cbxOficinaInicio;
    private javax.swing.JComboBox cbxSede;
    private javax.swing.JComboBox cbxTipoPieza;
    private com.toedter.calendar.JDateChooser jDateFechaEntrada;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JPanel jPanel5;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JScrollPane jScrollPane3;
    private javax.swing.JToolBar jToolBar1;
    private javax.swing.JToolBar jToolBar2;
    private javax.swing.JPanel jpanelContenedor;
    private javax.swing.JPanel jpanelNuevaPieza;
    private javax.swing.JLabel lblEmplazamiento;
    private javax.swing.JLabel lblExpediente;
    private javax.swing.JLabel lblFechaEntrada;
    private javax.swing.JLabel lblIdentificacionç;
    private javax.swing.JLabel lblInterno;
    private javax.swing.JLabel lblObservaciones;
    private javax.swing.JLabel lblOficina;
    private javax.swing.JLabel lblSede;
    private javax.swing.JLabel lblTipoPieza;
    private javax.swing.JTable tblAsuntos;
    private javax.swing.JTable tblPiezas;
    private javax.swing.JTextField txtEmplazamientoDias;
    private javax.swing.JTextField txtEmplazamientoHoras;
    private javax.swing.JTextField txtExpediente;
    private javax.swing.JTextField txtIdentificacionPieza;
    private javax.swing.JTextField txtInterno;
    private javax.swing.JTextField txtObservaciones;
    // End of variables declaration//GEN-END:variables

    public JButton getBtnBuscarInterno() {
        return btnBuscarInterno;
    }

    public JComboBox getCbxOficinaInicio() {
        return cbxOficinaInicio;
    }

    public JComboBox getCbxSede() {
        return cbxSede;
    }

    public JComboBox getCbxTipoPieza() {
        return cbxTipoPieza;
    }

    public JTextField getTxtEmplazamientoDias() {
        return txtEmplazamientoDias;
    }

    public JTextField getTxtEmplazamientoHoras() {
        return txtEmplazamientoHoras;
    }

    public JTextField getTxtExpediente() {
        return txtExpediente;
    }

    public JTextField getTxtIdentificacionPieza() {
        return txtIdentificacionPieza;
    }

    public JTextField getTxtInterno() {
        return txtInterno;
    }
    public JTextField getTxtObservaciones() {
        return txtObservaciones;
    }

    public JButton getBtnGuardar() {
        return btnGuardarPieza;
    }

    public JTable getTblPiezas() {
        return tblPiezas;
    }

    public JButton getBtnGuardarPieza() {
        return btnGuardarPieza;
    }

    public JButton getBtnNuevaPieza() {
        return btnNuevaPieza;
    }

    public JButton getBtnSalir() {
        return btnSalir;
    }

    public JPanel getJpanelContenedor() {
        return jpanelContenedor;
    }

    public JButton getBtnHabilitarBusqueda() {
        return btnHabilitarBusqueda;
    }

    public JDateChooser getjDateFechaEntrada() {
        return jDateFechaEntrada;
    }

    
    public JLabel getLblFechaEntrada() {
        return lblFechaEntrada;
    }

    
    public CabeceraJPanelPrincipal getCabecera() {
        return cabecera;
    }

    public JButton getBtnEditarPieza() {
        return btnEditarPieza;
    }

    public JTable getTblAsuntos() {
        return tblAsuntos;
    }

    public JPanel getJPanelAsunto() {
        return JPanelAsunto;
    }

    public JLabel getLblInterno() {
        return lblInterno;
    }

    public JPanel getJpanelNuevaPieza() {
        return jpanelNuevaPieza;
    }

    public JButton getBtnSetUbicacion() {
        return btnSetUbicacion;
    }

    public JButton getBtnDesplegar() {
        return btnDesplegar;
    }

    public JButton getBtnHistorialSeguimiento() {
        return btnHistorialSeguimiento;
    }

    public JButton getBtnDarSalidaPieza() {
        return btnDarSalidaPieza;
    }
}
